<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<!DOCTYPE html>
<html>
<head>
<title>个人资料</title>
<%@ include file="/WEB-INF/views/manager/include.inc.jsp"%>
<link rel="stylesheet" href="${contextPath }/styles/validationEngine/css/validationEngine.jquery.css">
<script src="${contextPath }/styles/validationEngine/js/jquery.validationEngine-zh_CN.js"></script>
<script src="${contextPath }/styles/validationEngine/js/jquery.validationEngine.min.js"></script>
</head>
<body>
<!--top s-->
<c:import url="/public/header?tag=Config" />
<!--top end-->
<div class="m_main"> 
  <!--left s-->
  <div class="m_left fl">
    <ul>
      <li><img src="${contextPath }/styles/public/images/nav.png" />
        <a href='javascript:goToPage("${contextPath }/manager/user/update")'><div class="nav1 nav_on">个人资料</div></a>
      </li>
    </ul>
  </div>
  <!--left end--> 
  <!--right s-->
  <div class="m_right fl">
    <div class="r_box" style="margin-bottom:30px;">
      <div class="personal">
        <h5>个人资料</h5>
        <form id="form" method="post" action="${contextPath }/manager/user/update" onsubmit="return validateCallback(this, callback);">
          <ul class="dept2 fmy" style="padding:5px 0 2px 40px;">
            <li>
              <div class="spant tr fl justify"><span class="s_red">*</span><span class="justify"><span style="letter-spacing:40px;">姓</span>名</span></div>
              <input name="name" type="text" value="${user.name }" class="intt validate[required, minSize[2], maxSize[5]]" />
            </li>
            <li>
              <div class="spant tr fl justify"><span class="s_red">*</span><span class="justify"><span style="letter-spacing:4.5px;">手机号</span>码</span></div>
              <input name="tel" type="text" value="${user.tel }" class="intt validate[required,custom[phone]]" />
            </li>
            <li>
              <div class="spant tr fl"><span class="s_red">*</span><span style="letter-spacing:14px;">新密</span>码</div>
              <input id="pwd" name="password" type="password" class="intt validate[required]" />
            </li>
            <li>
              <div class="spant tr fl"><span class="s_red">*</span>确认新密码</div>
              <input name="password1" type="password" class="intt validate[required,condRequired[pwd],equals[pwd]]" />
            </li>
          </ul>
          <p>长度为6-14个字符，不允许有空格！</p>
          <div class="btn_box tr ovh" style="position:absolute; right:40px; bottom:10px;">
            <input type="hidden" name="id" value="${user.id }" />
            <input type="submit" name="submit" class="keep_btn" value="确 定">
          </div>
        </form>
      </div>
    </div>
  </div>
  <!--right end--> 
</div>
</body>
</html>